import time
import unittest

from scripts.test02_login_params_json import TestLoginParms
from tools.HTMLTestRunner import HTMLTestRunner

suite = unittest.TestSuite()
#suite.addTest(unittest.makeSuite(TestLogin))
suite.addTest(unittest.makeSuite(TestLoginParms))

# now = time.strftime("%Y%m%d %H%M%S", time.localtime())
reportFile = "./report/" + "report.html"
fp = open(reportFile, 'wb')
runner = HTMLTestRunner(stream=fp, title=u'进销存测试报告', description=u'登录')
runner.run(suite)
fp.close()
